{% load i18n %}
{% extends "main.html" %}
{% block subtitle %}
{% trans "Szukanie" %}
{% endblock %}

{% block content %}
  <h3>Szukanie frazy "{{ search }}"</h3>
  {% if list %}
    {% for data in list %}
      <span style="font-weight:bold;">{{ data.0|capfirst }}:</span><br />
      {% for object in data.1 %}
    	  <a href="{{ object.get_absolute_url }}">{{ object|capfirst }}</a><br />
      {% endfor %}
    {% endfor %}
  {% else %}
    Brak rezultatów wyszukiwania frazy "{{ search }}".
  {% endif %}
{% endblock %}

